<!-- INCLUDE page_header.html -->
<!-- IF S_LIST -->
<table width="100%" border="0" cellspacing="1" cellpadding="2" class="borderless">
  <tr>
    <td align="center" class="copy">{VIEWLOGS_PAGINATION}</td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="1" cellpadding="2">
  <tr class="rowhead">
    <td width="150" nowrap="nowrap"><a href="{U_LOGS}o={O_DATE}" class="header">{L_DATE}</a></td>
    <td width="100%"><a href="{U_LOGS}o={O_TYPE}" class="header">{L_TYPE}</a></td>
    <td width="100" nowrap="nowrap" class="rowhead">{L_VIEW_ACTION}</td>
    <td width="100" nowrap="nowrap"><a href="{U_LOGS}o={O_USER}" class="header">{L_USER}</a></td>
    <td width="120" nowrap="nowrap"><a href="{U_LOGS}o={O_IP}" class="header">{L_IP_ADDRESS}</a></td>
    <td width="70" nowrap="nowrap"><a href="{U_LOGS}o={O_RESULT}" class="header">{L_RESULT}</a></td>
  </tr>
  <!-- BEGIN logs_row -->
  <tr class="{logs_row.ROW_CLASS}">
    <td width="150" nowrap="nowrap">{logs_row.DATE}</td>
    <td width="100%"><a href="{U_LOGS}o={CURRENT_ORDER}&amp;search={logs_row.ENCODED_TYPE}">{logs_row.TYPE}</a></td>
    <td width="100" nowrap="nowrap"><a href="{logs_row.U_VIEW_LOG}">{L_VIEW}</a></td>
    <td width="100" nowrap="nowrap"><a href="{U_LOGS}o={CURRENT_ORDER}&amp;search={logs_row.ENCODED_USER}">{logs_row.USER}</a></td>
    <td width="120" nowrap="nowrap"><a href="{U_LOGS}o={CURRENT_ORDER}&amp;search={logs_row.ENCODED_IP}">{logs_row.IP}</a></td>
    <td width="70" nowrap="nowrap" class="{logs_row.C_RESULT}">{logs_row.RESULT}</td>
  </tr>
  <!-- END logs_row -->
  <tr>
    <td colspan="6" class="rowfoot">{VIEWLOGS_FOOTCOUNT}</td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="1" cellpadding="2" class="borderless">
  <tr>
    <td align="center" class="copy">{VIEWLOGS_PAGINATION}</td>
  </tr>
</table>
<!-- ELSE -->
<table width="100%" border="0" cellspacing="1" cellpadding="2">
  <tr class="rowhead">
    <td colspan="2" class="rowhead">{L_LOG_VIEWER}</td>
  </tr>
  <tr>
    <td class="row1" width="200" nowrap="nowrap">{L_DATE}:</td>
    <td class="row1" width="100%">{LOG_DATE}</td>
  </tr>
  <tr>
    <td class="row2" width="200" nowrap="nowrap">{L_USERNAME}:</td>
    <td class="row2" width="100%">{LOG_USERNAME}</td>
  </tr>
  <tr>
    <td class="row1" width="200" nowrap="nowrap">{L_IP_ADDRESS}:</td>
    <td class="row1" width="100%">{LOG_IP_ADDRESS}</td>
  </tr>
  <tr>
    <td class="row2" width="200" nowrap="nowrap">{L_SESSION_ID}:</td>
    <td class="row2" width="100%">{LOG_SESSION_ID}</td>
  </tr>
  <tr class="rowhead">
    <td colspan="2" class="rowhead">{LOG_ACTION}</td>
  </tr>
  <!-- BEGIN log_row -->
  <tr>
    <td class="{log_row.ROW_CLASS}" width="200" nowrap="nowrap">{log_row.KEY}</td>
    <td class="{log_row.ROW_CLASS}" width="100%">{log_row.VALUE}</td>
  </tr>
  <!-- END log_row -->
  <tr class="rowhead">
    <td colspan="2" class="rowhead">&nbsp;</td>
  </tr>
</table>
<!-- ENDIF -->
<!-- INCLUDE page_tail.html -->